.auth-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 186px;
  color: #FFFFFF;
  box-sizing: border-box;
}

.auth-form__logo-link {
  display: inline-block;
  margin-bottom: 45px;
}

.auth-form__container {
  width: 100%;
  text-align: center;
  max-width: 396px;
}

.logo {
  display: block;
  width: 38px;
  height: 38px;
}

.auth-form__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  margin: 0 0 40px;
  letter-spacing: 0.025em;
}

.form {
  width: 100%;
  max-width: 260px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.form__label {
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  color: #8B8B8B;
  ;
}

.form__input {
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  width: 100%;
  height: 46px;
  margin: 10px 0 0;
  padding-left: 15px;
  background-color: #2F2F2F;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
}

.form__input:focus {
  outline: 1px solid #4285f4;
}

.form__error {
  margin: 6px 0 0;
  min-height: 12px;
  display: block;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  opacity: 0;
}

.form__error_type_active {
  color: #EE3465;
  display: block;
  opacity: 1;
}

.form__error_visible {
  opacity: 1;
}

.form__button-submit {
  display: block;
  width: 100%;
  padding: 15px;
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  color: #FFFFFF;
  background: #4285F4;
  border: none;
  border-radius: 3px;
  letter-spacing: 0.04em;
  transition: opacity .3s linear;
  cursor: pointer;
}

.form__button-submit:hover {
  opacity: 0.8;
}

.form__button-submit_disabled {
  color: #C2C2C2;
  background: #F8F8F8;
  cursor: auto;
}

.form__button-submit_disabled:hover {
  opacity: 1;
}

.auth-form__registration-text {
  max-width: 396px;
  margin: 14px 0 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #8B8B8B;
  letter-spacing: 0.04em;
}

.auth-form__link {
  text-decoration: none;
  color: #4285F4;
  transition: opacity .3s linear;
}

.auth-form__link:hover {
  opacity: 0.7;
}

@media screen and (min-width: 320px) and (max-width: 627px) {
  .auth-form {
    padding: 56px 30px 30px;
  }

  .auth-form__title {
    margin: 0 0 80px;
  }
}

@media screen and (min-width: 628px) and (max-width: 767px) {
  .auth-form {
    padding: 230px 186px;
  }

  .auth-form__container {
    text-align: start;
  }

  .auth-form__logo-link {
    margin-bottom: 40px;
  }

  .form {
    max-width: 396px;
  }

  .form__title {
    margin: 0 0 40px;
  }

  .form__button-submit {
    padding: 13px 15px 15px;
    font-size: 14px;
    line-height: 17px;
  }

  .auth-form__registration-text {
    font-size: 14px;
    line-height: 17px;
    margin-top: 15px;
  }
}

@media screen and (min-width: 767px) {
  .auth-form {
    padding: 230px 186px;
  }

  .auth-form__container {
    text-align: start;
  }

  .auth-form__logo-link {
    margin-bottom: 40px;
  }

  .form {
    max-width: 396px;
  }

  .form__title {
    margin: 0 0 40px;
  }

  .form__button-submit {
    padding: 13px 15px 15px;
    font-size: 14px;
    line-height: 17px;
  }

  .auth-form__registration-text {
    font-size: 14px;
    line-height: 17px;
    margin-top: 15px;
    letter-spacing: 0.04em;
  }
}

@media screen and (min-width: 1280px) {
  .auth-form {
    padding: 70px 186px 275px;
  }

  .auth-form__logo-link {
    margin-bottom: 35px;
  }

  .auth-form__registration-text {
    margin-bottom: 70px;
  }

  .form__input {
    margin: 12px 0 0;
  }
}